package com.besttone.model;

/**
 * Created by chenping on 2017/9/7.
 */
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import com.jfinal.plugin.activerecord.Model;
import java.util.List;
public class FlashsmsCount extends Model<FlashsmsCount>{
    private static Log _log = LogFactory.getLog(FlashsmsCount.class);
    public static FlashsmsCount dao = new FlashsmsCount();

    public List<FlashsmsCount> getCntsByDay(String day_id) {
        String select = "select busi_type,increase_cnts,all_cnts,day_id from ta_flash_sms_day where day_id="+day_id;
        List<FlashsmsCount> userlist=dao.use("osp").find(select);
        System.out.println("test");
        return userlist;
    }
}
